<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-Transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<head>
<title>IGNORED</title>
</head>
<body>
	<ui:composition>
		<p:panel style="font-size:1.2em;width:180px">
			<ui:remove>
				<h:panelGrid columns="1" cellspacing="30" style="width:100%">
					<p:commandButton value="2010" ajax="true" update=":centerForm"
						action="#{pictureController.load2010Picture}">

					</p:commandButton>
					<p:commandButton value="2011" ajax="true" update=":centerForm"
						action="#{pictureController.load2011Picture}">

					</p:commandButton>
					<p:commandButton value="2012" ajax="true" update=":centerForm"
						action="#{pictureController.load2012Picture}">
					</p:commandButton>
					<p:commandButton value="2013" ajax="true" update=":centerForm"
						action="#{pictureController.load2013Picture}">
					</p:commandButton>


				</h:panelGrid>
	</ui:remove>
			

			<h:panelGrid columns="1">
				<h:panelGrid columns="2">
					<h:outputLabel value="#{msgs.year}"></h:outputLabel>
					<p:selectOneRadio value="#{pictureModel.galleryYear}"
						layout="pageDirection" style="color:blue;width:100%;height:100%">
						<f:selectItem itemValue="2010" itemLabel="2010"></f:selectItem>
						<f:selectItem itemValue="2011" itemLabel="2011"></f:selectItem>
						<f:selectItem itemValue="2012" itemLabel="2012"></f:selectItem>
						<f:selectItem itemValue="2013" itemLabel="2013"></f:selectItem>
					</p:selectOneRadio>
					<ui:remove>
					<p:selectOneMenu value="#{pictureModel.galleryYear}" style="float:right">
						<f:selectItem itemValue="2010" itemLabel="2010"></f:selectItem>
						<f:selectItem itemValue="2011" itemLabel="2011"></f:selectItem>
						<f:selectItem itemValue="2012" itemLabel="2012"></f:selectItem>
						<f:selectItem itemValue="2013" itemLabel="2013"></f:selectItem>
					</p:selectOneMenu>
					</ui:remove>
				</h:panelGrid>
				<h:commandButton value="#{msgs.showPictures}"
					action="#{pictureController.loadGalleryPictures}" />
				<ui:remove>
					<h:outputLabel value="Picture Type"></h:outputLabel>
					<p:selectOneMenu value="#{pictureModel.galleryPictureType}">
						<f:selectItems value="#{pictureModel.availableTypes}" var="type"
							itemValue="#{type}" itemLabel="#{type.label}"></f:selectItems>
					</p:selectOneMenu>
				</ui:remove>
			</h:panelGrid>


			<p:separator style="height:100"></p:separator>
			<p:graphicImage value="../resources/images/gallery.jpg" width="140"
				height="271"></p:graphicImage>
		</p:panel>
	</ui:composition>
</body>
</html>